

export default(store)=>{
    store.subscribe((mutation,state)=>{
        console.log(mutation);
        console.log(state);
        console.group('你提交的mutation的类型是:'+mutation.type,);
        console.log('核载的参数payload的值:'+mutation.payload);
        console.groupEnd();

    })
}